package tools

import "sync"

func SyncMapLen(m *sync.Map) (len uint32) {
	m.Range(func(key, val interface{}) bool {
		len++
		return true
	})
	return
}
